<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:body>
	
	   
			<h:outputText value="Digite o Valor da Temperatura a ser Convertido:"> </h:outputText>
			<h:inputText  value ="valorTemp" var="valorTemp"></h:inputText>
			
			<h:selectOneRadio layuot="PageDirector" valueChangeListener="#{conversao.changeRadio}"></h:selectOneRadio>
			   <h:form>
					<f:selectItems value="#{conversao.lista}" 
					               var="item"
					               itemValue="#{item}" 
					               itemLabel="item">
					              
				   </f:selectItems>
				   <h:outputText id="item" value="#{conversao.radio}"></h:outputText>
				</h:form>
				
			
			<h:commandButton value="Converter"></h:commandButton>
			<h:outputText value="resultado" var="#{conversao.resultado}"></h:outputText>
	
</h:body>
</html>